/****************************************************************************
** Meta object code from reading C++ file 'MenuItemWithOptionButton.h'
**
** Created: Sun Mar 14 12:49:34 2010
**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../MenuItemWithOptionButton.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MenuItemWithOptionButton.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.6.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_MenuItemWithOptionButton[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
       4,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: signature, parameters, type, tag, flags
      26,   25,   25,   25, 0x05,
      47,   25,   25,   25, 0x05,

 // slots: signature, parameters, type, tag, flags
      69,   25,   25,   25, 0x0a,
      92,   25,   25,   25, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_MenuItemWithOptionButton[] = {
    "MenuItemWithOptionButton\0\0"
    "majorButtonClicked()\0optionButtonClicked()\0"
    "onMajorButtonClicked()\0onOptionButtonClicked()\0"
};

const QMetaObject MenuItemWithOptionButton::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_MenuItemWithOptionButton,
      qt_meta_data_MenuItemWithOptionButton, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &MenuItemWithOptionButton::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *MenuItemWithOptionButton::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *MenuItemWithOptionButton::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_MenuItemWithOptionButton))
        return static_cast<void*>(const_cast< MenuItemWithOptionButton*>(this));
    return QWidget::qt_metacast(_clname);
}

int MenuItemWithOptionButton::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: majorButtonClicked(); break;
        case 1: optionButtonClicked(); break;
        case 2: onMajorButtonClicked(); break;
        case 3: onOptionButtonClicked(); break;
        default: ;
        }
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void MenuItemWithOptionButton::majorButtonClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}

// SIGNAL 1
void MenuItemWithOptionButton::optionButtonClicked()
{
    QMetaObject::activate(this, &staticMetaObject, 1, 0);
}
static const uint qt_meta_data_MenuItemWithOptionButtonAction[] = {

 // content:
       4,       // revision
       0,       // classname
       0,    0, // classinfo
       3,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       1,       // signalCount

 // signals: signature, parameters, type, tag, flags
      32,   31,   31,   31, 0x05,

 // slots: signature, parameters, type, tag, flags
      56,   31,   31,   31, 0x0a,
      79,   31,   31,   31, 0x0a,

       0        // eod
};

static const char qt_meta_stringdata_MenuItemWithOptionButtonAction[] = {
    "MenuItemWithOptionButtonAction\0\0"
    "optionButtonTriggered()\0onMajorButtonClicked()\0"
    "onOptionButtonClicked()\0"
};

const QMetaObject MenuItemWithOptionButtonAction::staticMetaObject = {
    { &QWidgetAction::staticMetaObject, qt_meta_stringdata_MenuItemWithOptionButtonAction,
      qt_meta_data_MenuItemWithOptionButtonAction, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &MenuItemWithOptionButtonAction::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *MenuItemWithOptionButtonAction::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *MenuItemWithOptionButtonAction::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_MenuItemWithOptionButtonAction))
        return static_cast<void*>(const_cast< MenuItemWithOptionButtonAction*>(this));
    return QWidgetAction::qt_metacast(_clname);
}

int MenuItemWithOptionButtonAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidgetAction::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: optionButtonTriggered(); break;
        case 1: onMajorButtonClicked(); break;
        case 2: onOptionButtonClicked(); break;
        default: ;
        }
        _id -= 3;
    }
    return _id;
}

// SIGNAL 0
void MenuItemWithOptionButtonAction::optionButtonTriggered()
{
    QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
QT_END_MOC_NAMESPACE
